/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hudsonlab;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author AlejandraHPa
 */
public class JpaUtil {
    private static EntityManagerFactory emf=Persistence.createEntityManagerFactory("hudsonLabPU");
    //private static EntityManagerFactory emf=Persistence.createEntityManagerFactory("hudsonLabPU3");
    private static EntityManagerFactory emfP=Persistence.createEntityManagerFactory("hudsonLabPU");

    public static EntityManagerFactory getEmfP() {
        return emfP;
    }

    public static EntityManagerFactory getEmf() {
        return emf;
    }
    
    
    
    
}
